﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class IoTbUploadBill
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long UploadId { get; set; }
        /// <summary>
        /// 住院流水号
        /// </summary>
        public long? RegNo { get; set; }
        /// <summary>
        /// 凭证类别(0：磁卡，1：保障卡，
        /// 3：电子凭证)
        /// </summary>
        public string? Cardtype { get; set; }
        /// <summary>
        /// 凭证码(磁卡：28 位，保障卡：
        /// 不填
        /// 电子凭证：填写令牌)
        /// </summary>
        public string? Carddata { get; set; }
        /// <summary>
        /// 就诊单元号
        /// </summary>
        public string? Jzdyh { get; set; }
        /// <summary>
        /// 登记号(门诊号、住院号)
        /// </summary>
        public string? Djh { get; set; }
        /// <summary>
        /// 明细账单号
        /// </summary>
        public string? Mxzdh { get; set; }
        /// <summary>
        /// 本次费用明
        /// 细包的医疗
        /// 费用总额
        /// </summary>
        public decimal? Bcmxylfyze { get; set; }
        /// <summary>
        /// 结算类型标志（
        /// 120：门诊结算
        /// 220：急诊结算
        /// 410：家床结算
        /// 510：急观结算
        /// 610：住院结算
        /// 门诊大病前两位：32=大病结算
        /// 门诊大病后一位：1=化疗；2=放疗；3=血透；4=腹透；6=肾移植抗排异；7=同位素治疗；8=介入治疗；9=中医药治疗；A=精神病；）
        /// </summary>
        public string? Jslxbz { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateOn { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int? UpdateUserId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateOn { get; set; }
        /// <summary>
        /// 状态(0未上传1已上传2撤销上传3已结账4上传失败)
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 医院id
        /// </summary>
        public int? HospitalId { get; set; }
    }
}
